Update CLI analytics and login docs#5191
Closed
mintlify[bot] wants to merge 1 commit intomainfrom
Closed
Conversation
…implified flags Generated-By: mintlify-agent
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
Contributor
Author
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Updates documentation to reflect CLI analytics and login UX improvements:
mint analyticsnow automatically resolves the project subdomain from config or your authenticated account, removing the need to always pass--subdomain.mint loginnow prompts you to select a default project after authentication. Single-project accounts are configured automatically.--humans,--agents, and--agentflags from documentation. Stats always show both human and agent traffic. Output format auto-detects AI agent environments.Pages changed
cli/analytics.mdx— Added project resolution section, removed deprecated traffic-source flags, updated output format docs.cli/commands.mdx— Updatedmint logindescription, updated shared analytics flags, removed--humans/--agentsfrom stats.Note
Low Risk
Low risk documentation-only changes that update CLI usage/flag references; no runtime behavior changes in this PR.
Overview
Updates CLI docs to reflect analytics UX changes: removes traffic-segmentation flags (e.g.,
--humans,--agents,--agent), clarifies filtering to date/page only, and notes that AI agent environments default analytics output tojson.Adds documentation for automatic project/subdomain resolution (via
--subdomain, config, or authenticated account) and updatesmint logindocs to mention prompting users to select a default project after authentication.Reviewed by Cursor Bugbot for commit 691f273. Bugbot is set up for automated code reviews on this repo. Configure here.